package com.tico.editor.editors.service;
import com.alibaba.fastjson.JSONObject;
import com.tico.common.service.BaseService;
import com.tico.common.utils.BaseQuery;
import com.tico.common.utils.QueryResult;
import com.tico.editor.editors.domain.HttpEditor;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public interface HttpEditorService extends BaseService<HttpEditor> {
    JSONObject postman(HttpEditor httpDomian);

    void postmanReal(HttpEditor httpDomian);

    HttpEditor findById(Serializable id);

    int update(HttpEditor obj);

    int insertBatch(List<HttpEditor> httpEditors);

    int insert(HttpEditor httpEditor);

    int delete(Serializable id);

    int remove(Serializable id);

    QueryResult<HttpEditor> findPageInfo(BaseQuery baseQuery);

    List<HttpEditor> findByNamedParamList (Map<String,Object> param);
}
